<script setup>
import { onMounted } from 'vue'

const doDrag = (e) => {
  console.log('drag', e)
}

onMounted(() => {})
</script>

<template>
  <div>
    <div>TestDrag</div>
    <div class="drag" v-drag="doDrag">drag</div>
  </div>
</template>

<style>
.drag {
  position: fixed;
  border: 1px solid silver;
}
</style>
